home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
ALLOC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-31
|
395b
|
25 lines
#ifndef NULL
#define NULL (void *)0
#endif
#ifdef LARGEDATA
#define PTR huge *
typedef unsigned long asize_t;
#else
#define PTR *
typedef unsigned asize_t;
#endif
union header {
struct {
union header PTR ptr;
asize_t size;
} s;
long l;
};
typedef union header HEADER;
#define NULLHDR (HEADER *)NULL
#define MIN_ALLOC 8192 /* minimum space we ask for at OS */